﻿{extends file="../home.html"}

{block name="title"}{$head_title}{/block}
	
{block name="css"}
{/block}

{block name="content"}
<!--s主内容-->
<section class="content-wrapper">
  <div class="content-container container">
  	<!-- s面包屑导航 -->
  	{include file="../breadcrum_nav.html"}
  	<!-- e面包屑导航 -->
    <!-- s分类 -->
    <div class="col-left">
    {include file="../common_personal_nav.html"}
	</div>	
    <!-- e分类 -->
    <!-- s主内容 -->
    <div class="col-main">
		{include file="../common_personal_header.html"}
		<div class="user-main">
			<!-- s交易记录 -->
			<table class="table table-bordered">
				<thead>
					<tr>
						<th>积分账户交易记录</th>
					</tr>
				</thead>
				<thead>
					<tr>
						<th>事件</th>
						<th>订单编码</th>
						<th>积分</th>
						<th>操作前积分</th>
						<th>操作后积分</th>
						<th>操作时间</th>
					</tr>
				</thead>
		        <tbody>
                {foreach from=$integral_list item=integral name=name}
		          <tr>
                    <td>{$integral.remark}</td>  
                    <td>{$integral.order_sn}</td>
                    <td>{$integral.integral}</td>
                    <td>{$integral.start_integral}</td>
                    <td>{$integral.end_integral}</td>
                    <td>{$integral.addtime|date_format:"%Y-%m-%d %H:%M:%S"}</td>
		          </tr>
                {foreachelse}   
                    <tr>
                        <td colspan="7">
                            没有符合条件的记录
                        </td>
                    <tr>
                {/foreach}
		        </tbody>
		      </table>
		      <!-- 分页 -->
		      <div class="pagination">
                <ul>
                    {$show}
                </ul>  
		      </div>
		      <!-- e交易记录 -->
		</div>
	</div>
	<div class="clearfix"></div>
    <!-- e主内容 -->
  </div>
</section>
<!--e主内容-->
{/block}

{block name="js"}
{/block}
